package com.sopra.tecnica.poc.server.entity;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "entcde")
public class OrderEntity extends AEntity<OrderEntity> {

	@Column(name = "societe")
	private String company;
	
	@Column(name = "crepres")
	private String userCode;
	
	@Column(name = "typcde")
	private String kind;
	
	@Column(name = "saison")
	private String season;
	
	@Column(name = "cmarque")
	private String brandCode;
	
	@Column(name = "noccde")
	private Integer number;
	
	@Column(name = "datcde")
	private Date orderDate;
	
	@Column(name = "datliv")
	private Date deliveryDate;
	
	@Column(name = "qtetot")
	private Integer qty;
	
	@Column(name = "mnttot")
	private Float sum;

	public void setCompany(String company) {
		this.company = company;
	}

	public String getCompany() {
		return company;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public String getKind() {
		return kind;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Integer getNumber() {
		return number;
	}

	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}

	public Date getOrderDate() {
		return orderDate;
	}

	public void setSum(Float sum) {
		this.sum = sum;
	}

	public Float getSum() {
		return sum;
	}

	public void setDeliveryDate(Date deliveryDate) {
		this.deliveryDate = deliveryDate;
	}

	public Date getDeliveryDate() {
		return deliveryDate;
	}

	public void setQty(Integer qty) {
		this.qty = qty;
	}

	public Integer getQty() {
		return qty;
	}

	public void setSeason(String season) {
		this.season = season;
	}

	public String getSeason() {
		return season;
	}

	public void setBrandCode(String brandCode) {
		this.brandCode = brandCode;
	}

	public String getBrandCode() {
		return brandCode;
	}
}
